<?php
/**
 * CreateTime: 2022/7/27 11:54
 */

namespace App\Http\Requests\Client;

use App\Http\Requests\BaseRequests;

class AdjustAmountCreditClientPost extends BaseRequests
{

    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'adjust_amount_confirm_information_for_money' =>"required",
            "adjust_amount_confirm_information_for_type" => "required"
        ];
    }

    public function messages()
    {
        return [
            'adjust_amount_confirm_information_for_money.required' => "调整额度不能为空",
            'adjust_amount_confirm_information_for_type.required' => "调整类型不能为空"
        ];
    }
}
